/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lu.med.praxiswahl.wahlumed.dao.beans.daointerface;

import java.util.List;

import javax.ejb.Local;

import lu.med.praxiswahl.wahlumed.model.beans.DeliveriesTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/
@Local
public interface DeliveriesDAOInt
{
    
    public void persist(DeliveriesTBL todo);
    public void delete(Long todo);
    public void update(DeliveriesTBL todo);

    public List<DeliveriesTBL> findAvailableDeliveries(); // Listet alle Lieferungen
    public List<DeliveriesTBL>  sortByBestand();
    public List<DeliveriesTBL>  sortByPrice();
    public List<DeliveriesTBL>  sortByItem();
    public List<DeliveriesTBL>  sortByLieferant();
    public List<DeliveriesTBL>  sortByPurchaseDate();
    public List<DeliveriesTBL>  sortByLiefertDatum();
    
}
